package com.threadmethod.sleep;

/**
 * @PackageName:com.threadmethod.sleep
 * @ClassName:Test04
 * @Description:
 * @Author: zhangxiaoyu
 * @date 2020/11/19 16:39
 */
public class Test04 {
    public static void main(String[] args){
         SubThread04 t4 = new SubThread04();
         System.out.println("开始"+System.currentTimeMillis());
        // t4.start(); //开启新的线程

        t4.run(); //没有开启新的线程

         System.out.println("结束："+System.currentTimeMillis());
    }
}
